-- GENERATED SPELL FOR [Haggard Refugee] --


function spell0_2053(pUnit, Event) --@Ignite,n/a--
pUnit:FullCastSpellOnTarget(3261,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2053', 20000, 1)
end

function Sorts_2053(pUnit, Event)
local choix_sorts_2053 = math.random(0, 0)
if choix_sorts_2053 == 0 then
pUnit:RegisterEvent('spell0_2053', 1, 1)
end
end

function mob2053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2053', math.random(1500, 3000), 1)
end

function mob2053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2053, 1, 'mob2053_Action')
RegisterUnitEvent(2053, 2, 'mob2053_Leave')
RegisterUnitEvent(2053, 3, 'mob2053_Kill')
RegisterUnitEvent(2053, 4, 'mob2053_Die')
